import { get } from "../utils/request";
//轮播图
export const reqBannerAPI = () => get("/banner");
//推荐歌单
export const RecommendAPI = () => get("/personalized");
//推荐新音乐
export const NewsongAPI = () => get("/personalized/newsong");
//精品歌单分类
export const PlaylisttagAPI = () => get("/playlist/highquality/tags");
//获取歌曲的信息
export const loadMusicAPI = (id) => get("/song/detail?ids=" + id);
//推荐喜欢的歌曲
export const songSimi = (id) => get("/simi/song?id=" + id);
//这首歌的评论
export const songComment = (id) => get("/comment/music?id=" + id);
//这首歌的歌词
export const songLyric = (id) => get("/lyric?id=" + id);
//这首歌的id
export const songUrl = (id) => get("/song/url?id=" + id);

export const ToplistAPI = (id) => get("/toplist/detail?id=" + id);
// 歌单内歌曲的接口
export const loadCateAPI = (id) => get("/playlist/detail?id=" + id);
//排行榜接口
export const rankAPI = (id) => get('/toplist/detail?id=' + id)
